package com.darren.archive.consumer1.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;


@FeignClient(name = "nacos-provider" , fallbackFactory = EchoServiceFallbackFactory.class)
public interface EchoService {


    @GetMapping(value = "/echo/{message}")
    String echo(@PathVariable("message") String message);



}